﻿using System;
using System.Collections.Generic;
using PicStore.Model;

namespace PicStore.BLL.Interface
{
    public interface ICategoryService
    {
        List<CategoryInfo> GetBaseCategoryListForAdmin();
        List<CategoryInfo> GetAllItems(string categoryName);
        List<CategoryInfo> GetItemsByCategoryId(int categoryId);
        string GetItemName(int categoryId, string itemValue);
        List<string> GetItemValuesByCategoryId(int categoryId);
        List<string> GetOtherItemValues(int categoryId, int itemId);
        int CreateCategoryItem(int categoryId, string itemName, string itemValue, int createrId, string description);
        CategoryInfo GetCategoryItemById(int itemId);

        void UpdateCateoryItem(int itemId, string itemName, string itemValue, int categoryId, int operatorId,
                               string description);

        void DeleteCateoryItem(int itemId);
        string GetDescriptionOfItems(string value, BaseCategoryEnum categoryEnum);
    }
}
